<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no">
    <title>0725完成版</title>
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <!--[if lt IE 9]>
      <script src="js/html5shiv.min.js"></script>
      <script src="js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <style type="text/css">
    	body{
			padding: 50px 0;    		
    	}
    	.damu-carousel{
    		height: 500px;
    		overflow: hidden;
    	}
    	.damu-carousel img{
    		width: 100%;
    	}
    	.damu-container{
    		text-align: center;
    		margin-top: 50px;
    	}
		  
		
		    	
    	@media only screen and (max-width:768px ) {
    		.damu-carousel{
    			height: 300px;
	    	}
    		.damu-carousel .item{
    			height: 300px;
	    	}
    		.damu-carousel .item img{
    			height: 300px;
	    	}
	    	.damu-container2  .nav-tabs li{
				font-size: 12px;
			}
    	}
    </style>
  </head>
  <body>
  	<!--导航-->
	<nav class="navbar navbar-inverse navbar-fixed-top">
	  <div class="container">
		    <div class="navbar-header">
		      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
		        <span class="sr-only">Toggle navigation</span>
		        <span class="icon-bar"></span>
		        <span class="icon-bar"></span>
		        <span class="icon-bar"></span>
		      </button>
		      <a class="navbar-brand" href="#">现代浏览器博物馆</a>
		    </div>
		    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
		      <ul class="nav navbar-nav">
		        <li class="active"><a href="#">综述 <span class="sr-only">(current)</span></a></li>
		        <li><a href="#">简述</a></li>
		        <li class="dropdown">
		          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">特点 <span class="caret"></span></a>
		          <ul class="dropdown-menu" id="damu-nav">
		            <li><a href="#Chrome">Chrome</a></li>
		            <li><a href="#Firefox">Firefox</a></li>
		            <li><a href="#Safari">Safari</a></li>
		            <li><a href="#Opera">Opera</a></li>
		            <li><a href="#IE">IE</a></li>
		          </ul>
		        </li>
		      	<li><a href="#" data-toggle="modal" data-target="#myModal" >关于</a></li>
		      </ul>
	    	</div>
	  </div>
	</nav>
	
	<!--轮播图  data-pause="null" data-wrap="true" data-interval="1000"-->
	<div id="carousel-example-generic" class="damu-carousel carousel slide"  data-ride="carousel" >
	  <ol class="carousel-indicators">
	    <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
	    <li data-target="#carousel-example-generic" data-slide-to="1"></li>
	    <li data-target="#carousel-example-generic" data-slide-to="2"></li>
	    <li data-target="#carousel-example-generic" data-slide-to="3"></li>
	    <li data-target="#carousel-example-generic" data-slide-to="4"></li>
	  </ol>
	
	  <div class="carousel-inner" role="listbox">
	    <div class="item active">
	      <img src="images/chrome-big.jpg">
	      <div class="carousel-caption">
	          <h1>Chrome</h1>
              <p>Google Chrome，又称Google浏览器，是一个由Google（谷歌）公司开发的网页浏览器。</p>
              <p><a class="btn btn-lg btn-primary" href="http://www.google.cn/intl/zh-CN/chrome/browser/" role="button" target="_blank">点我下载</a></p>
	      </div>
	    </div>
	    <div class="item">
	      <img src="images/firefox-big.jpg" >
	      <div class="carousel-caption">
	           <h1>Firefox</h1>
               <p>Mozilla Firefox，中文名通常称为“火狐”或“火狐浏览器”，是一个开源网页浏览器。</p>
               <p><a class="btn btn-lg btn-primary" href="http://www.firefox.com.cn/download/" target="_blank" role="button">点我下载</a></p></div>
	    </div>
	    <div class="item">
	      <img src="images/ie-big.jpg" >
	      <div class="carousel-caption">
	         <h1>IE</h1>
             <p>Internet Explorer，简称 IE，是微软公司推出的一款网页浏览器。</p>
             <p><a class="btn btn-lg btn-primary" href="http://ie.microsoft.com/" target="_blank" role="button">点我下载</a></p>
	      </div>
	    </div>
	    <div class="item">
	      <img src="images/opera-big.jpg" >
	      <div class="carousel-caption">
	       	<h1>Opera</h1>
            <p>Opera浏览器，是一款挪威Opera Software ASA公司制作的支持多页面标签式浏览的网络浏览器。</p>
			<p><a class="btn btn-lg btn-primary" href="http://www.opera.com/zh-cn" target="_blank" role="button">点我下载</a></p>
	      </div>
	    </div>
	    <div class="item">
	      <img src="images/safari-big.jpg" >
	      <div class="carousel-caption">
	        	<h1>Safari</h1>
                <p>Safari，是苹果计算机的最新操作系统Mac OS X中的浏览器。</p>
                <p><a class="btn btn-lg btn-primary" href="http://www.apple.com/cn/safari/" target="_blank" role="button">点我下载</a></p>
	      </div>
	    </div>
	  </div>
	
	  <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
	    <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
	    <span class="sr-only">Previous</span>
	  </a>
	  <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
	    <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
	    <span class="sr-only">Next</span>
	  </a>
	</div>

	<!--栅格-->
	<div class="container damu-container" >
		<div class="row">
			<div class="col-md-4">
			      <img src="images/chrome-logo-small.jpg" alt="...">
			      <div class="caption">
				        <h3>Chrome</h3>
				        <p>Google Chrome，又称Google浏览器，是一个由Google（谷歌）公司开发的网页浏览器。</p>
				        <p><a href="#" class="btn btn-default" role="button">点我下载</a></p>
			      </div>
			</div>
			<div class="col-md-4">
			      <img src="images/firefox-logo-small.jpg" alt="...">
			      <div class="caption">
				        <h3>Firefox</h3>
				        <p>Mozilla Firefox，中文名通常称为“火狐”或“火狐浏览器”，是一个开源网页浏览器。。</p>
				        <p><a href="#" class="btn btn-default" role="button">点我下载</a></p>
			      </div>
			</div>
			<div class="col-md-4">
			      <img src="images/safari-logo-small.jpg" alt="...">
			      <div class="caption">
				        <h3>Safari</h3>
				        <p>Safari，是苹果计算机的最新操作系统Mac OS X中的浏览器。</p>
				        <p><a href="#" class="btn btn-default" role="button">点我下载</a></p>
			      </div>
			</div>
		</div>
	</div>
	
	<!--分割线-->
	<div class="container">
		<hr style="margin: 50px 0;" />
	</div>
	
	<!--标签页-->
	<div class="container damu-container2">
	  <!-- Nav tabs -->
	  <ul class="nav nav-tabs" role="tablist" id="damu-tab">
	    <li role="presentation" class="active"><a href="#Chrome" aria-controls="home" role="tab" data-toggle="tab">Chrome</a></li>
	    <li role="presentation"><a href="#Firefox" aria-controls="profile" role="tab" data-toggle="tab">Firefox</a></li>
	    <li role="presentation"><a href="#Safari" aria-controls="messages" role="tab" data-toggle="tab">Safari</a></li>
	    <li role="presentation"><a href="#Opera" aria-controls="settings" role="tab" data-toggle="tab">Opera</a></li>
	    <li role="presentation"><a href="#IE" aria-controls="settings" role="tab" data-toggle="tab">IE</a></li>
	  </ul>
	  <!-- Tab panes -->
	  <div class="tab-content">
	    <div role="tabpanel" class="tab-pane active" id="Chrome">
	    	 <div class="col-md-7">
                    <h2 class="feature-heading">IE <span class="text-muted">你懂的</span></h2>
                    <p class="lead">Internet Explorer，原称Microsoft Internet Explorer(6版本以前)和Windows Internet
                        Explorer(7，8，9，10版本)，
                        简称IE，是美国微软公司推出的一款网页浏览器。它采用的排版引擎(俗称内核)为Trident。</p>
                </div>
                <div class="col-md-5">
                    <img class="feature-image img-responsive" src="images/chrome-logo.jpg"
                         alt="IE">
                </div>
	    </div>
	    <div role="tabpanel" class="tab-pane" id="Firefox">
                <div class="col-md-5">
                    <img class="feature-image img-responsive" src="images/firefox-logo.jpg"
                         alt="IE">
                </div>
                 <div class="col-md-7">
                    <h2 class="feature-heading">IE <span class="text-muted">你懂的</span></h2>
                    <p class="lead">Internet Explorer，原称Microsoft Internet Explorer(6版本以前)和Windows Internet
                        Explorer(7，8，9，10版本)，
                        简称IE，是美国微软公司推出的一款网页浏览器。它采用的排版引擎(俗称内核)为Trident。</p>
                </div>
	    </div>
	    <div role="tabpanel" class="tab-pane" id="Safari">
	    	 <div class="col-md-7">
                    <h2 class="feature-heading">IE <span class="text-muted">你懂的</span></h2>
                    <p class="lead">Internet Explorer，原称Microsoft Internet Explorer(6版本以前)和Windows Internet
                        Explorer(7，8，9，10版本)，
                        简称IE，是美国微软公司推出的一款网页浏览器。它采用的排版引擎(俗称内核)为Trident。</p>
                </div>
                <div class="col-md-5">
                    <img class="feature-image img-responsive" src="images/safari-logo.jpg"
                         alt="IE">
                </div>
	    </div>
	    <div role="tabpanel" class="tab-pane" id="Opera">
                <div class="col-md-5">
                    <img class="feature-image img-responsive" src="images/opera-logo.jpg"
                         alt="IE">
                </div>
                <div class="col-md-7">
                    <h2 class="feature-heading">IE <span class="text-muted">你懂的</span></h2>
                    <p class="lead">Internet Explorer，原称Microsoft Internet Explorer(6版本以前)和Windows Internet
                        Explorer(7，8，9，10版本)，
                        简称IE，是美国微软公司推出的一款网页浏览器。它采用的排版引擎(俗称内核)为Trident。</p>
                </div>
	    </div>
	    <div role="tabpanel" class="tab-pane" id="IE">
	    	 <div class="col-md-7">
                <h2 class="feature-heading">IE <span class="text-muted">你懂的</span></h2>
                <p class="lead">Internet Explorer，原称Microsoft Internet Explorer(6版本以前)和Windows Internet
                    Explorer(7，8，9，10版本)，
                    简称IE，是美国微软公司推出的一款网页浏览器。它采用的排版引擎(俗称内核)为Trident。</p>
            </div>
            <div class="col-md-5">
                <img class="feature-image img-responsive" src="images/ie-logo.jpg"
                     alt="IE">
            </div>
	    </div>
	  </div>
	</div>
	
	<footer class="container" style="margin-top: 50px;color: gray;">
        <p>&copy; atguigu </p>
    </footer>
	
	<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
	  <div class="modal-dialog" role="document">
	    <div class="modal-content">
	      <div class="modal-header">
	        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
	        <h4 class="modal-title" id="myModalLabel">弹出层</h4>
	      </div>
	      <div class="modal-body">
	       啦啦啦啦啦
	      </div>
	    </div>
	  </div>
	</div>
	
    <script src="js/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script type="text/javascript">
    	$(function(){
    		
    		$("#damu-nav a").click(
    			function(){
    				var href = $(this).attr("href");
    				$('#damu-tab a[href=' + href + ']').tab('show');
    			}
    		)
    		
    		
    		
    		
    		
    		$('.carousel').carousel({
			   interval: 1000,
			   wrap:false,
			   pause:"hover"
			})	
			
			$('.start').on('click', function () {
			   $('.carousel') .carousel('cycle');
			})
			$('.pasue').on('click', function () {
			   $('.carousel') .carousel('pause');
			})
			
			$('.carousel').on('slide.bs.carousel', function () {
			    console.log("carousel");
			})
			$('.carousel').on('slid.bs.carousel', function () {
			    console.log("carousel2");
			})
    	})
    </script>
  </body>
</html>